<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>物流方后台管理</title>
		<link href="../../../css/logistics-common.css" type="text/css" rel="stylesheet">
		<link href="../../../css/base.css" type="text/css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="../../../component/autocomplete/jquery.autocomplete.css" />
		<link rel="stylesheet" type="text/css" href="../../../js/My97DatePicker/skin/WdatePicker.css" />
	</head>

	<body>
		<div class="wrapper">
			<!-- 顶部菜单栏 -->
			<div id="header" class="header"></div>
			<div class="main" id="main">
				<!-- 左侧菜单栏 -->
				<div id="leftMenu" class="left"></div>
				<div class="pages">
					<div class="page field-section" id="deliveryNoticeList">
						<div class="page-header">
							<label>当前位置：</label>放货通知
						</div>
						<div class="page-content">
							<div class="page-content-search">
								<div class="page-content-search-item time-item" style="width: auto;">通知时间：
									<input type="text" class="Wdate FromTime" name="dateBegin" id="dateBegin" placeholder="请选择时间" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,skin:'whyGreen',maxDate:'#F{$dp.$D(\'dateEnd\',{d:0})}'})" /> --
									<input type="text" class="Wdate FromTime" name="dateEnd" id="dateEnd" placeholder="请选择时间" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false,readOnly:true,skin:'whyGreen',minDate:'#F{$dp.$D(\'dateBegin\',{d:1})}'})" />
								</div>
								<button class="search-item-button" id="delivery_notice_search">搜索</button>
								<div class="clear"></div>
							</div>
							<div class="page-content-main table-section">
								<table class="table">
									<thead>
										<tr>
											<th style="width: 200px;">通知时间|融资编号</th>
											<th>通知单号</th>
											<th>配送时间</th>
											<th>目的地</th>
											<th style="width: 200px;">运输货物</th>
											<th>状态</th>
											<th>确认时间</th>
											<th>操作</th>
										</tr>
									</thead>
									<tbody id="deliveryNoticeListBody">
									</tbody>
									<script type="text/template" id="deliveryNoticeListTpl">
										{@each datas as it}
										<tr class="tr_style table-data" deliveryNoticeId="${it.deliveryNoticeId}">
											<td>
												<div>${it.createDateTime}</div>
												<div class="number_finance">${it.financeNumber}</div>
											</td>
											<td>${it.deliveryNoticeNumber}</td>
											<td>${it.deliveryDate}</td>
											<td>${it.receiveAddress}</td>
											<td>
												{@each it.pickupBulkstocks as that} ${that.bulkstockName}(${that.specification}) -- ${that.quantity}${that.unit}
												<br/> {@/each}
											</td>
											<td>
												{@if it.noticeState==1} 未接收 {@else if it.noticeState==2} 已接收 {@else if it.noticeState==3} 完成 {@/if}
											</td>
											<td>${it.confirmDateTime}</td>
											<td><a class="handle-type">详情</a></td>
										</tr>
										{@/each}
									</script>
								</table>
								<div class="pagerCon"></div>
							</div>
						</div>
					</div>
				</div>
			</div>

			<div id="popdialog"></div>
			<div id="fullBg" class="fullBg none"></div>
			<div class="dialog none" id="confirmDialog" style="width:300px;">
				<div class="dialogTitle"></div>
				<button class="closeDiv">×</button>
				<div class="dialogContent">
				</div>
				<div class="footerBtn">
					<div class="dialogBtn dialogCancelBtn radius_shadow">取消</div>
					<div class="dialogBtn dialogHandlerBtn radius_shadow">确定</div>
				</div>
			</div>
			<!-- 底部 -->
			<div id="footer" class="none footer">

			</div>
		</div>
		<script type="text/javascript" src="../../../js/jquery-1.11.1.min.js"></script>
		<script src="../../../component/layer/layer.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../../js/seajs/sea.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-text.js"></script>
		<script type="text/javascript" src="../../../js/seajs/seajs-css.js"></script>
		<script type="text/javascript" src="../../../js/logistics/config.js"></script>
		<script type="text/javascript" src="../../../js/juicer-min.js"></script>
		<script src="../../../js/ajaxfileupload.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../component/autocomplete/jquery.autocomplete.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="../../../js/My97DatePicker/WdatePicker.js"></script>
		<link href="deliveryNoticeList.css" type="text/css" rel="stylesheet"></link>
		<script type="text/javascript">
			seajs.use('./deliveryNoticeList', function(deliveryNoticeList) {
				deliveryNoticeList.init(1, 1);
			});
		</script>
	</body>
</html>